/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.sys.service;

import com.jeeplus.common.utils.CacheUtils;
import com.jeeplus.common.utils.StringUtils;
import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.database.datasource.annotation.DS;
import com.jeeplus.modules.sys.entity.DictType;
import com.jeeplus.modules.sys.entity.DictValue;
import com.jeeplus.modules.sys.mapper.DictTypeMapper;
import com.jeeplus.modules.sys.mapper.DictValueMapper;
import com.jeeplus.modules.sys.utils.DictUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 数据字典Service
 * @author lgf
 * @version 2017-01-16
 */
@DS("queuing")
@Service
@Transactional(readOnly = true)
public class DictTypeAreaService extends CrudService<DictTypeMapper, DictType> {

	@Autowired
	private DictTypeMapper dictTypeMapper;

	@Transactional(readOnly = false)
	public void updateAreaById(String orgrizeType,String orgrizeStatus) {
		dictTypeMapper.updateAreaById(orgrizeType,orgrizeStatus);
	}

}
